<?php


$a = array(
		'layout_id' 	=> 3,
		'position'  	=> 'column_right',
		'status'		=> 1,
		'sort_order'	=> 1
		);

$arr[] = $a;
$str = serialize($arr);
echo $str;

echo "<br/><hr/>";

$a = array(
		"a" => "aaaa",
		"b" => "bbbb",
		"c" => "cccc"
		);

$p = $a;

$s = serialize($a);

print  $s;

unset($a);


echo "<br/>";

$us = unserialize($s);

print var_dump($us);

echo "<br/>";

$result = array_pop($p);
echo $result;

echo "<br/>----------------<br/>";

$a = 4;

if($a<4) {
	echo "<4";
} elseif ($a>3) {
	echo ">3";
} else {
	echo "other";
}

?>